
.body{
 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f8f6f5;
}
.log-reg{
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    /* border-radius:10px; */
}
.log-reg img{
    width:650px;
    height:100%;
    background: repeat;
    border-radius: 10px 0 0 10px ;
}
.login{
  
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 450px;
    background-color: #ffffff;
    border-radius: 0 10px 10px 0;
    box-shadow: 10px 10px 20px #f8f6f5;
    overflow: hidden;
    gap: 20px;
}
.login h2{
    color: rgb(252, 164, 164);
    font-size: 25px;
    font-weight: 400;
    z-index: 1;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}
.login form{
    margin: 0 auto;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 80%;
    height: 260px;
    /* gap: 5px; */

}
.input input{
    
    color:  rgb(252, 164, 164);
    font-size: 25px;
    width: 100%;
    height: 40px;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #eee;
    font-size: 16px;
}
.input input:focus{
   
    outline: none;
}
/* input::placeholder{
    font-size: 12px;
    color: rgb(252, 164, 164);
    transition: all 0.5s ease-in-out;
} */
.input{
    width: 100%;
    height: 1.8rem;
    position: relative;
    transition: all .3s ease-in-out;
}
.input.none{
    opacity: 0;
    height: 0;
    margin: 0;
    /* display: none; */
}

.input::after{
    cursor: pointer;
    font-weight: 100;
    content:attr(placeholder);
    color: rgb(252, 164, 164);
    position: absolute;
    font-size: 25px;
    top: 5px;
    left: 0;
    transition: all 0.5s ease-in-out;
}
.input.focus::after{
    top: -47%;
    font-size: 18px;
}
.login button{
    z-index: 1;
    color: rgb(252, 164, 164);
    width: 180px;
    height: 36px;
    border:1px solid rgb(252, 164, 164);
    border-radius: 18px;
    background-color: transparent;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}
.login span{
    position: absolute;
    top:0;
    left: 0;
    width: 0;
    height: 0;
    background-color: rgb(252, 164, 164);
    transform: translate(-50%,-50%);
    border-radius: 50%;
}

.login:hover input::placeholder{
    color: white;
}
.login:hover .input::after{
    color:   white;
}
.login:hover *{
    color: white;
   
}
.login:hover button{
    color: white;
    border:1px solid rgb(255, 255, 255);
}
@keyframes in
{
    0%{
        width: 0;
        height: 0;

    }
    100%{
        width: 1200px;
        height: 1200px;
        /* opacity: 0; */
    }
}
@keyframes out
{
    0%{
        /* opacity: 0; */
        width: 1200px;
        height: 1200px;
    }
    100%{
        /* opacity: 1; */
        width: 0;
        height: 0;
    }
}
@media screen and (max-width:800px){
    .log-reg img{display: none;}
    .login{
       border-radius: 10px;   
       width:100%;
    }
    .log-reg{
        width:60%;
    }
}